-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CP Staging] Fix: Not redirect to workspace chat when pay IOU with business account #46557
Conversation
@mananjadhav Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
I tried to test this. The workspace is created and I am redirected but it then leads to a Not Found page. Screen.Recording.2024-07-31.at.3.21.01.PM.mov |
@mananjadhav I believe this is a BE error because deduced from your video, the new workspace chat and the expense is optimistically created but later the expense is reverted to the DM IOU and there's RBR on the workspace chat in LHN. Could you kindly open the workspace chat or check its Onyx data to see what error the BE returned? Or for safety, we don't need to highlight that specific expense report preview, just open the workspace chat. So in case the expense is not created successfully, not found page wouldn't show. |
…xpensify" This reverts commit 8783422.
Yeah the problem was with my account as I had crossed the limit of workspace. I tested in a new account and it works fine. @gijoe0295 Can you please sync the latest main especially because we reverted a change. I am currently testing by locally updating the code. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-workspace-chat-redirect.movAndroid: mWeb Chromemweb-chrome-workspace-chat-redirect.moviOS: Nativeios-workspace-chat-redirect.moviOS: mWeb Safarimweb-safari-workspace-chat-redirect.movMacOS: Chrome / Safariweb-workspace-chat-redirect.movMacOS: Desktopdesktop-workspace-chat-redirect.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting on merging with latest main.
All done. |
Thanks @gijoe0295. @marcaaron Can you take a look? |
@mountiny why does this need to be CP'd to staging? Not linked to any deploy blockers AFAICT. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/marcaaron in version: 9.0.17-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
@marcaaron it was originally meant to fix a deploy blocker alongwith other change but then @mananjadhav separated the pr for only the deploy unblocking fix that was CPed Sorry for the confusion |
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
Details
This PR resolves:
Fixed Issues
$ #46339
$ #46490
PROPOSAL: #46339 (comment)
Tests
[mWeb & Native]
[Web & Desktop]
Offline tests
NA
QA Steps
See Tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-07-31.at.13.46.08-source.mov
Android: mWeb Chrome
Screen.Recording.2024-07-31.at.13.44.30-source.mov
iOS: Native
iOS: mWeb Safari
Screen.Recording.2024-07-31.at.13.40.01-source.mov
MacOS: Chrome / Safari
navigate-to-workspace.mov
RHP opens on top of Workspace chat
The workspace chat is GBR and the expense is highlighted
MacOS: Desktop
Screen.Recording.2024-07-31.at.13.32.26-source.mov